.class public Lcom/instagram/j/c;
.super Ljava/lang/Object;
.source "Comment.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator",
        "<",
        "Lcom/instagram/j/b;",
        ">;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 36
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 37
    return-void
.end method


# virtual methods
.method public a(Lcom/instagram/j/b;Lcom/instagram/j/b;)I
    .locals 6
    .parameter
    .parameter

    .prologue
    const-wide/16 v4, 0x0

    .line 42
    invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 43
    const/4 v0, 0x0

    .line 60
    :cond_0
    :goto_0
    return v0

    .line 46
    :cond_1
    invoke-static {p1}, Lcom/instagram/j/b;->a(Lcom/instagram/j/b;)J

    move-result-wide v0

    invoke-static {p2}, Lcom/instagram/j/b;->a(Lcom/instagram/j/b;)J

    move-result-wide v2

    sub-long/2addr v0, v2

    .line 48
    cmp-long v2, v0, v4

    if-nez v2, :cond_3

    .line 50
    invoke-static {p1}, Lcom/instagram/j/b;->b(Lcom/instagram/j/b;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {p2}, Lcom/instagram/j/b;->b(Lcom/instagram/j/b;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 51
    invoke-static {p1}, Lcom/instagram/j/b;->b(Lcom/instagram/j/b;)Ljava/lang/String;

    move-result-object v0

    invoke-static {p2}, Lcom/instagram/j/b;->b(Lcom/instagram/j/b;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v0

    .line 52
    if-nez v0, :cond_0

    .line 57
    :cond_2
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    invoke-virtual {p2}, Ljava/lang/Object;->hashCode()I

    move-result v1

    sub-int/2addr v0, v1

    goto :goto_0

    .line 60
    :cond_3
    cmp-long v0, v0, v4

    if-lez v0, :cond_4

    const/4 v0, 0x1

    goto :goto_0

    :cond_4
    const/4 v0, -0x1

    goto :goto_0
.end method

.method public synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    check-cast p1, Lcom/instagram/j/b;

    .end local p1
    check-cast p2, Lcom/instagram/j/b;

    .end local p2
    invoke-virtual {p0, p1, p2}, Lcom/instagram/j/c;->a(Lcom/instagram/j/b;Lcom/instagram/j/b;)I

    move-result v0

    return v0
.end method
